package org.banaan.sql

import java.util.Properties;
import nl.mayisal.startup.{SQLConfig};

class SQLConnector {
	val url = SQLConfig.getUrl();
	val info = SQLConfig.getConnectionProperties();
	Class.forName(SQLConfig.getDriverName());

	def getConnection() : SQLConnection = {
		new SQLConnection(url,info);
	}
}
